package com.ebupt.migu.music.api.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/10/24
 */
@Getter
@Setter
public class PushExtraObject {
    /**
     * App应用红点数量
     * 满足正则 ^(-|\+)?\d+$
     * 默认值: +1
     */
    private String autoBadge;
    /**
     * 推送直接带有透传数据
     * 默认值: 1
     */
    private Integer contentAvailable;

    @Override
    public String toString() {
        return "extra{" +
                "autoBadge='" + autoBadge + '\'' +
                ", contentAvailable=" + contentAvailable +
                '}';
    }
}
